<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      tr:nth-of-type(2n) {
        background-color: white;
      }
      tr:nth-of-type(2n + 1) {
        background-color: #eee;
      }
      td:nth-of-type(1) {
        background-color: black;
        color: white;
      }
      td:nth-of-type(3) {
        opacity: 0.9;
      }
      th {
        background-color: black;
        color: white;
      }
    </style>
  </head>
  <body>
    <table>
      <caption>
        TABLE SAMPLE
      </caption>
      <thead>
        <tr>
          <th>title one</th>
          <th>title two</th>
          <th>title three</th>
          <th>title four</th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <th>content1</th>
          <td>content2</td>
          <td>content3</td>
          <td>content4</td>
        </tr>
        <tr>
          <th>content5</th>
          <td>content6</td>
          <td>content7</td>
          <td>content8</td>
        </tr>
        <tr>
          <th>content9</th>
          <td>content10</td>
          <td>content11</td>
          <td>content12</td>
        </tr>
        <tr>
          <th>content13</th>
          <td>content14</td>
          <td>content15</td>
          <td>content16</td>
        </tr>
      </tbody>
    </table>
  </body>
</html>
